#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Treasure.nanopb.h"
#define MAX_TREASURE_AWARDLIB_NUM 4

class TreasureAwardlibDesc : public NFIDescTemplate<TreasureAwardlibDesc, E_TreasureAwardlib, EOT_CONST_TREASURE_AWARDLIB_DESC_ID, MAX_TREASURE_AWARDLIB_NUM>
{
public:
	TreasureAwardlibDesc();
	virtual ~TreasureAwardlibDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
